package com.example.uCenter.user.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author hhl
 * @since 2022-08-29 08:38:53
 */
@Getter
@Setter
@TableName("blacklist")
@ApiModel(value = "Blacklist对象", description = "")
public class Blacklist {

    @ApiModelProperty("ID")
    @TableId(value = "black_id", type = IdType.AUTO)
    private Integer blackId;

    @ApiModelProperty("用户ID")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty("黑名单用户ID")
    @TableField("black_user_id")
    private Integer blackUserId;

    @ApiModelProperty("逻辑删除标记 0表示正常，1表示删除")
    @TableField("is_deleted")
    private Integer isDeleted;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

//    @TableField("bla01")
//    private String bla01;
//
//    @TableField("bla02")
//    private String bla02;
//
//    @TableField("bla03")
//    private String bla03;
//
//    @TableField("bla04")
//    private String bla04;
//
//    @TableField("bla05")
//    private String bla05;


}
